pkgname=vdr-femon
pkgver=1.1.1
pkgrel=1
arch=('i686')
pkgdesc="DVB Frontend Status Monitor plugin for VDR"
url="http://www.saunalahti.fi/~rahrenbe/vdr/femon/"
license=('GPL')
depends=('vdr' 'gcc')
source=(http://www.saunalahti.fi/~rahrenbe/vdr/femon/files/$pkgname-$pkgver.tgz)
md5sums=('f0f68cbb89ae3e8d095e4228923d7d12')

build() {
  cd $startdir/src/femon-$pkgver

  sed -i \
	 -e 's:@cp --remove-destination $@ :install -D -m 755 $@ $(DESTDIR):' \
	 Makefile
  make VDRDIR=/usr/include/vdr LIBDIR=/usr/lib/vdr DESTDIR=$startdir/pkg all || return 1
}
